.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px;
  background-color: #ffffff;
  position: relative;
}

.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.logo-image {
  width: 160px;
  height: 160px;
}

.avatar-container {
  margin-bottom: 100px;
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.avatar-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #e9f3ff;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.login-form {
  width: 100%;
}

.form-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 30px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  height: 74px;
}

.input-icon {
  display: flex;
  align-items: center;
  padding-right: 10px;
  color: #999;
}

.iconfont {
  font-size: 32px;
}

.icon-user:before {
  content: '\e7ae';
}

.icon-lock:before {
  content: '\e7c9';
}

.input {
  width: 100%;
  height: 100%;
  font-size: 28px;
  border: none;
}

.error-message {
  color: #f56c6c;
  font-size: 28px;
  margin: 5px 0 15px;
  text-align: center;
  display: block;
}

.login-button {
  margin-top: 30px;
  background-color: #1890ff;
  color: white;
  border: none;
  height: 74px;
  line-height: 74px;
  font-size: 28px;
  border-radius: 30px;
  width: 100%;
  font-weight: normal;
  
  &::after {
    border: none;
  }
}

/* 适配小程序按钮点击效果 */
.login-button.button-hover {
  background-color: #40a9ff;
}

/* 底部按钮容器 */
.bottom-buttons-container {
  margin-top: 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0 40px;
}

/* 注册按钮样式 */
.register-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  border-radius: 20px;
  transition: background-color 0.3s;
  
  &:hover {
    background-color: #f8f8f8;
  }
}

.register-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
}

.register-plus {
  font-size: 28px;
  font-weight: normal;
  color: #333;
}

.register-text {
  font-size: 20px;
  color: #333;
}

/* 微信登录样式 */
.wechat-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  border-radius: 20px;
  transition: background-color 0.3s;
  
  &:hover {
    background-color: #f8f8f8;
  }
}

.wechat-login-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.wechat-login-text {
  font-size: 20px;
  color: #07c160;
  font-weight: 500;
}

/* 微信登录抽屉样式 */
.wechat-drawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  animation: fadeIn 0.3s ease-out;
}

.wechat-drawer {
  width: 100%;
  animation: slideUp 0.3s ease-out;
  
  .wechat-drawer-content {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 0;
    min-height: 400px;
  }
  
  .wechat-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .wechat-drawer-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 40px;
    color: #999;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    
    &::after {
      border: none;
    }
  }
  
  .wechat-drawer-body {
    padding: 40px 30px;
    text-align: center;
  }
  
  .wechat-icon-large {
    font-size: 80px;
    margin-bottom: 30px;
  }
  
  .wechat-status {
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    display: block;
  }
  
  .wechat-tips {
    .tips-text {
      font-size: 24px;
      color: #666;
      margin-bottom: 15px;
      display: block;
      text-align: left;
    }
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}